package com.woniu.mapper;

import com.woniu.entity.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FoodOrderMapper {

    Integer addOrder(FoodOrder foodOrder);
    Integer addOrderItem(FoodOrderItem orderItem);
    FoodOrder queryOrderByOrderNum(String orderNum);
    Integer updateOrder(String orderNum,Integer status);
}
